Total Complexity | 9 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 121 |
Lines of code | 74 |
Logical lines of code | 27 |
Comment lines | 18 |
Methods | 9 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
test_apply_shortcode_gallery_settings() | 57 | 1 | 17 | |
setUp() | 62 | 1 | 12 | |
test_shortcodes_are_registered() | 76 | 1 | 4 | |
test_gallery_width_when_giving_pixel_amount_without_suffix() | 65 | 1 | 9 | |
test_gallery_width_when_giving_pixel_amount_with_suffix() | 65 | 1 | 9 | |
test_gallery_width_when_giving_percentage_value() | 65 | 1 | 9 | |
test_invalid_gallery_width() | 65 | 1 | 9 | |
test_shortcode_output_is_a_string() | 78 | 1 | 3 | |
tearDown() | 91 | 1 | 2 |